<?php

namespace App\Http\Controllers\Web;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Model\Businesses;

class BusinessController extends Controller
{
    //
    public function index(Request $request){
        $businesses = [
            0 => Businesses::getData(0),
            1 => Businesses::getData(1),
            2 => Businesses::getData(2),
        ];
        return view('business',[
            'currentNav' => 'business',
            'businesses' => $businesses
        ]);
    }
}
